import request from '@/utils/request.js'

// 查询用户
export const getClientUserList = params => request.get('/manage/client/user-list', { params })
// 新增用户
export const addClientUser = params => request.post('/common/user-register', params)
// 编辑用户
export const editClientUser = params => request.post(`/manage/edit-clientuser/${params.userNo}`, params)
// 删除用户
export const deleteClientUser = userNo => request.delete(`/manage/clientuser/${userNo}`)
// 更新vip状态
export const updateVip = (userNo, params) => request.put(`/manage/update-vip/${userNo}`, params)
